package com.wwx.entity;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @author 王伟欣
 * @version V1.0
 * @email w17731138318@126.com
 * @creator 2023-02-11 10:51
 * @company 晶品科技
 * @copyright 晶品科技 · 石家庄 · 技术二部
 */
@Data
public class AddressEntity {
	@NotBlank(message = "电话不能为空")
	@Length(message = "请输入{min}长度电话",min = 11,max = 11)
	private String phone;

	@NotBlank(message = "地址不能为空")
	private String address;
}
